pub const RTLD_LAZY: core::ffi::c_int = 1;
pub const RTLD_LOCAL: core::ffi::c_int = 0;
#[cfg_attr(not(target_os = "freebsd"), link(name = "dl"))]
#[cfg_attr(target_os = "freebsd", link(name = "c"))]
extern "C" {
	pub fn dlopen(filename: *const core::ffi::c_char, flags: core::ffi::c_int) -> *mut core::ffi::c_void;
	pub fn dlclose(handle: *mut core::ffi::c_void) -> core::ffi::c_int;
	pub fn dlsym(handle: *mut core::ffi::c_void, symbol: *const core::ffi::c_char) -> *mut core::ffi::c_void;
	pub fn dlerror() -> *mut core::ffi::c_char;
}
